<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>书籍每日明细</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
  <link rel="stylesheet" href="/static/layuiadmin/style/admin.css" media="all">
  <style>
    .layuiadmin-big-font{
      font-size: 25px !important;
      line-height: 25px !important;
    }
    .caller-item {
      padding: 6px 10px;
      overflow: hidden;
    }
    .caller-main p {
      padding: 6px 0;
    }
    .caller-fl{
      float: left;
      position: absolute;
      left: 135px;
      top: 14px;
    }
    .layui-card span[lay-separator] {
      margin: 0 10px;
      color: #999;
      font-weight: bold;
    }

    .brief {
      line-height: 1.5;
      color: #777;
      max-width: 95%;
      height: 61px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      padding-top: 1px !important;
    }

    .text-c{
      text-align: center !important;
    }

  </style>
</head>
<body>

<div class="layui-fluid">
  <div class="layui-row layui-col-space15">

    <div class="layui-col-sm12 layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-body layuiadmin-card-list">

          <div class="caller-item">
            <a style="float: left;" lay-href="/spread/novelInfo.html?id={$novel.id}" lay-text="{$novel.title}">
              <img class="cover" src="__IMG_DOMAIN__{$novel.cover}" width="93.6" height="124.8">
            </a>
            <div class="caller-main caller-fl">
              <p><strong><a lay-href="/spread/novelInfo.html?id={$novel.id}" lay-text="{$novel.title}">{$novel.title}</a></strong>
                {if $novel.update_status != 1}
                <em style="color: #999999;" lay-tips="{$novel.chapter_up_time}" >[更新中]</em>
                {else /}
                <em style="color: #999999;">[已完结]</em>
                {/if}
              </p>
              <p class="caller-adds brief">{$novel.brief|trim}</p>
              <p style="font-weight:300;">{$novel.freq['name']}<span lay-separator="">·</span>{$novel.novel_class['name']}<span lay-separator="">·</span>{$novel.number_words_text}</p>
            </div>
          </div>

        </div>
      </div>
    </div>

    <div class="layui-col-sm12">

      <blockquote class="layui-elem-quote">
        <div class="layui-text">
          <ul>
            <li>后续充值次数越多，代表这本书的后续能力，充值率同理，充值率：充值人数 / 1次充值人数</li>
          </ul>
        </div>
      </blockquote>
      <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12">
          <div class="layui-card">

            <div class="layui-card-body">
              <table class="layui-table" >
                <colgroup>
                  <col>
                  <col>
                  <col>
                </colgroup>
                <thead>
                <tr>
                  <th class="text-c">充值次数</th>
                  <th class="text-c">充值人数</th>
                  <th class="text-c">充值率</th>
                </tr>
                </thead>
                <tbody>
                {foreach $list as $v}
                <tr>
                  <td class="text-c">{$v.index}</td>
                  <td class="text-c">{$v.count}</td>
                  <td class="text-c">{$v.fc_rate}</td>
                </tr>
                {/foreach}
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
    </div>

  </div>
</div>
</div>

<script src="/static/layuiadmin/layui/layui.js"></script>
<script>
  layui.config({
    base: '/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index','table'],function () {
    var $ = layui.$
            , form = layui.form
            , admin = layui.admin
            , table = layui.table;

    form.on('submit(LAY-user-search)', function (data) {
      var field = data.field;
      var queryString = $.param(field);
      window.location.href = "{:url('novel/againFx')}?id={$nid}&" + queryString + '';
    });

  });
</script>
</body>
</html>